<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/9/28
 * Time: 18:55
 */
header('Content-type:text/html;charset=uft-8');
echo '<table border="1">';
for ($i=1;$i<10;++$i){
    echo '<tr>';
    for ($j=1;$j<=$i;++$j){
        echo "<td> {$j}x{$i}=".$j*$i."</td>";
    }
    echo '</tr>';
}
echo '</table>';